home *** CD-ROM | disk | FTP | other *** search
- # RCSid[] = "@(#)$Header: README,v 3.2 87/05/16 06:19:25 pb Rel $"
-
- The new definitive C nrs database processor!!!
-
- OK chaps, this version is about an order of magnitude larger than the
- awk scripts but it does have some added features.
-
- 1) It uses the derived file (or atomic files) rather than
- the t.central file which is more ``official''.
- 2) It can output in a variety of formats.
- 3) It's pretty much unix independant.
- 4) It's much faster.
- 5) It runs on VMS
- 6) It runs on PR1MEs
-
- The heart of the system is the configuration file which is the only
- argument given to nrs. It specifies all the bits that you might need.
- For more details see the document nrs.ms
-
- Building it.
- ============
-
- Basically, you just type make and it'll build itself.
- However there are one or two things you can fiddle with to help it along.
- [on VMS: @make; on PR1ME: r configure then r make]
-
- On UNIX sites the initial make runs Configure which does all the
- configuration work for you. It discovers the system info by poking
- around, and asks the user about the desired options. It remembers the
- information from the first run of Configure, so you should not be asked
- again. Mmdf and sendmail formats send their output to a number of
- different files. The standard ones (uk.ac, uk.co, etc) are in the main
- .cf files, but most sites want to add their own. If you want either of
- these formats, you should create a file called tailor in the current
- directory with lines of the form (see the Jog for details):
- filedmn cl.dom uk.ac.cam.cl. uk.ac.cambridge.computer-lab.
- filedmn cam.dom uk.ac.cam. uk.ac.cambridge.
- If you do not want to do any local tailoring, create a null tailor file.
- If it doesn't find a tailor file when configuring, it will ask you a
- junk question to allow you to use a sub-shell to create the file.
- Configure quick zips throught without checking with the user.
- Configure all asks every question, even if it thinks it knows the answer
-
- On VMS sites the configuration has to be done by creating a file called
- localconf.com which is obeyed after stdconf.com so will override the
- standard configuration variables. It should also define LOCONFIG.
-
- On PR1ME sites, it is done on an ad hoc basis [ any suggestions ? ]
-
- This updates a number of files from *.SH (.VMS on VMS) (listed in *.LST)
-
- nrs.h: there are various #define's that start F_ which
- specify the formats you may wish to output in. Normally
- you should have all these defined as the output format is
- governed by the config file. However, if you have a small system
- you may wish to remove the code for some types of output.
- VMS21 must be set if you are using VAX VMS C 2.1 (or any VMS?)
- PR1ME must be set on a PR1ME.
-
- Makefile: (make.ccom on VMS)
- holds the definative pathname for the nrs file directory
- DATADIR is the directory where the NRS database file is found
- WDBM is where wdbm lives (if you are creating york DBM files)
- AWK should be set to `awk -f' if your system does not
- understand that files starting `#! command' should
- be run by execing `command'
-
- getfiles: script to fetch the derfil file from salford
-
- *.cf: the input configuration files.
-
- Each of these is run by obeying the file called <filename>.SH
- (<filename.VMS> on VMS) for each filename ending in .SH in *.LST.
- However, if there is a file called <filename>.SH.local then that is used
- instead (not implemented on VMS). If a standard *.SH file is not
- suitable for your site, create *.SH.local to do what you want, and mail
- it to pb@uk.ac.cam.cl.
- If it is of general use it may be included in the next release.
-
- On VMS sites, stdconf.com (and localconf.com) contains variables:
- DERFILDIR is the directory where NRS database file is found
- NRSPROG is the file which should contain the final programme
- NRSUSER is an account on the NRS to get the database file
- NRSPW is a password on the NRS to get the database file
- Setting the user or password to null will cause the script to prompt
- each time the DERFIL file is fetched.
-
- On PR1MEs, edit make.cpl to reflect the local filenames etc.
-
-
- When built, you hand nrs a config file (of which there should be some
- examples -- see *.cf) and leave it to it.
-
- You will probably need to fetch the DERFIL2 file from salford.
- [make getfiles on UNIX, @make getfiles on VMS, r make -getfiles on PR1ME]
-
- On VMS and PR1MEs this will have to be converted to a format suitable for
- seeks [ @make convert or r make -convert ]
-
- More details are available from in the document nrs.ms which if
- formatted using the `-ms' flag (nroffed version in nrs.txt).
-
- Please keep us up to date on changes to this code and any problems
- encountered.
-
- Julian Onions <jpo@uk.ac.nott.cs>
-
- Computer Science Group
- Nottingham University
- University Park,
- Nottingham,
- NG7 2RD
- Tel. +44 0602 506101 (x 3595)
-
- Piete Brooks <pb@uk.ac.cam.cl>
-
- University of Cambridge Computer Laboratory,
- Corn Exchange Street,
- Cambridge
- CB2 3QG
- Tel. +44 223 334659
-
- Adrian Pell <A.R.Pell@uk.ac.reading>
-
- Department of Computer Science
- University of Reading
- Whiteknights Park
- Reading
- RG6 2AX
- Tel: +44 734 875123 x 411
-